/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

import java.util.Date;

/**
 *
 * @author tiago
 */
public class TravelTip extends BaseEntity<TravelTip>{

    // <editor-fold defaultstate="collapsed" desc="Builders">
    public TravelTip()
    {
    }

    public TravelTip(String title, String subtitle, String content, Date datePublished)
    {
        this.title=title;
        this.subtitle=subtitle;
        this.content=content;
        this.datePublished=datePublished;
    }
    //</editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    private String title;
    private String subtitle;
    private String content;
    private Date datePublished;
    private boolean isPublished;

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the subtitle
     */
    public String getSubtitle() {
        return subtitle;
    }

    /**
     * @param subtitle the subtitle to set
     */
    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return the datePublished
     */
    public Date getDatePublished() {
        return datePublished;
    }

    /**
     * @param datePublished the datePublished to set
     */
    public void setDatePublished(Date datePublished) {
        this.datePublished = datePublished;
    }

    /**
     * @return the isPublished
     */
    public boolean getIsPublished() {
        return isPublished;
    }

    /**
     * @param isPublished the isPublished to set
     */
    public void setIsPublished(boolean isPublished) {
        this.isPublished = isPublished;
    }

    // </editor-fold>


}
